//
//  GYPayinfo.m
//  GoodLuck
//
//  Created by 丁燕春 on 2018/4/6.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYPayinfo.h"
#import "GYPayment.h"


@implementation GYPayinfo


- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    
    return self;
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"payment_list"]) {
        self.payment_list  = [GYPayment jsonPatmentInfo:value];
        
        return ;
    }
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
